﻿using com.guojin.core.io.message;
using com.guojin.core.io;

namespace com.guojin.mj.net.message.login
{
    public class PhoneRegisterRet : Message
    {
        public static int TYPE = 7;
        public static int ID = 145;
        public int Result; //返回结果  1成功  2已经注册过,3手机号不存在
        public string pnumber;
        public void decode(core.io.Input _in)
        {
            Result = _in.readInt();
            pnumber = _in.readString();
        }

        public void encode(Output _out)
        {
            
        }

        public int getMessageId()
        {
            return ID;
        }

        public int getMessageType()
        {
            return TYPE;
        }

        public string toString()
        {
            return "Result"+ Result;
        }
    }
}
